Platform Explorer / Nuxeo Platform 2021.25

Contribution org.nuxeo.ecm.platform.task.core.pageproviders--providers

This contribution is part of XML component org.nuxeo.ecm.platform.task.core.pageproviders inside nuxeo-platform-task-core-2021.25.8.jar /OSGI-INF/task-pageprovider-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Registration Order

22
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:targetDocumentId = ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:targetDocumentId = ? AND nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?))
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
            nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:processId = ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:processId = ? AND nt:actors/* IN ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_NODE">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND nt:processId = ? AND nt:task_variables/*/key = 'nodeId' AND
            nt:task_variables/*/value = ?
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS_OR_DELEGATED_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
            (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS_OR_DELEGATED_ACTORS">
          <pattern>
            SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
            ecm:currentLifeCycleState
            NOT IN ('ended', 'cancelled') AND ecm:isProxy =
            0 AND (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
          </pattern>
          <pageSize>0</pageSize>
          <maxPageSize>0</maxPageSize>
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

    <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:targetDocumentId = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:targetDocumentId = ? AND nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?))
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
        nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:processId = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:processId = ? AND nt:actors/* IN ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_PROCESS_AND_NODE">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND nt:processId = ? AND nt:task_variables/*/key = 'nodeId' AND
        nt:task_variables/*/value = ?
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS_OR_DELEGATED_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds/* IN (?)) AND
        (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

    <coreQueryPageProvider name="GET_TASKS_FOR_ACTORS_OR_DELEGATED_ACTORS">
      <pattern>
        SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND
        ecm:currentLifeCycleState
        NOT IN ('ended', 'cancelled') AND ecm:isProxy =
        0 AND (nt:actors/* IN ? OR nt:delegatedActors/* IN ?)
      </pattern>
      <pageSize>0</pageSize>
      <maxPageSize>0</maxPageSize>
    </coreQueryPageProvider>

  </extension>